Data Structures & Algorithms Practice Questions Answers Test With Solutions & More Shortcuts

DATA STRUCTURES & ALGORITHMS PRACTICE TEST [2 - EXERCISES]

Data Structures & Algorithms Set 1

Data Structures & Algorithms Set 2

Question : 1

Which of the following is not the required condition for binary search algorithm

a) there must be mechanism to delete and/ or insert elements in list

b) the list must be sorted

c) there should be the direct access to the middle element in any sublist

d) none of the above

Answer: (a)

Question : 2

The memory address of fifth element of an array can be calculated by the formula

a) LOC(Array[5])=Base(Array[5])+(5-lower boun(D), where w is the number of words per memory cell for the array

b) LOC(Array[5])=Base(Array[4])+(5-Upper boun(D), where w is the number of words per memory cell for the array

c) LOC(Array[5]=Base(Array)+w(5-lower boun(D), where w is the number of words per memory cell for the array

d) None of the above

Answer: (c)

Question : 3

When representing any algebraic expression E the following uses only binary operations in a 2-tree

a) the variable in E will appear as external nodes and operations in internal nodes

b) the operations in E will appear as external nodes and variables in internal nodes

c) the variables and operations in E will appear only in internal nodes

d) None of the above

Answer: (a)

Question : 4

If every node u in G is adjacent to every other node v in G, A graph is said to be

a) Isolated

b) Complete

c) Finite

d) Strongly connected

Answer: (b)

Question : 5

Two dimensional arrays are also called

a) tables arrays

b) matrix arrays

c) both of the above

d) none of the above

Answer: (c)

IMPORTANT COMPUTER MCQ EXERCISES

Data Structures & Algorithms Shortcuts »

Click to Read...

Data Structures & Algorithms Set 2 Online Quiz

Click to Start..
297 Data Structures & Algorithms Based Computer MCQ Set 2 Question Answer With Explanation Pdf

Recently Added Subject & Categories For All Competitive Exams

Alphabet and Number Arrangement Aptitude Model Test SSC

Alphabet and Number Arrangement objective Questions with detailed answers, PDF. Aptitude 50+ Practice MCQ exercises for SSC, all competitive, Bank Exams

22-Jul-2024 by Careericons

Continue Reading »

SSC Direction and Distance Sense MCQ Practice Exercise

Top Direction and Distance Sense objective questions with answers, PDF for SSC. 100+ Aptitude practice exercises for all Bank, Govt, and Competitive Exams

22-Jul-2024 by Careericons

Continue Reading »

100+ Blood Relation Aptitude Test Online, PDF for SSC

Top Blood Relation objective questions with answers, download PDF for SSC. 100+ Aptitude online practice exercises for all Bank, Govt, and Competitive Exams

22-Jul-2024 by Careericons

Continue Reading »

Top 100+ English Jumbled Sentences MCQ with PDF for RBI

Very important Jumbled Sentences questions with answers PDF for RBI. 100+ General English practice exercises for all Bank, Govt, and Competitive Exams

19-Jul-2024 by Careericons

Continue Reading »